<template>
	<view class="pages-index">
		<view class="title-box">
			{{jqjsfrom.name}}
		</view>
		<view class="">
			<rich-text :nodes="jqjsfrom.text"></rich-text>
		</view>
	</view>
</template>

<script>
	import {
		baseOssUrl,
		baseOssUrl2
	} from '@/common/settings';
	export default {
		data() {
			return {
				id:'',
				jqjsfrom:{},
				baseOssUrl: baseOssUrl,
				baseOssUrl2:baseOssUrl2,
			}
		},
		onLoad(e) {
			this.id = e.id
			this.jqjsInfo()
		},
		methods: {
			jqjsInfo() {
				this.$http.get(this.$httpApi.jqjsInfo, {
					data: {
						id:this.id
					}
				}).then(res => {
					if (res.code == 0) {
						this.jqjsfrom = res.jqjs
					}
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.pages-index {
		min-height: 100vh;
		background-color: #ffffff;
		padding: 24rpx;
		.title-box {
			font-size: 43rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #292929;
		}
	}
</style>
